<template>
	<view class="wrapper">
		<view class="image">
			<image src="../../../static/image/chenggong@2x.png" mode=""></image>
		</view>
		<view class="text">
			支付成功
		</view>
		<view class="num">
			{{money}}
		</view>
		<view class="btn">
			<button @click="toBack">返回页面</button>
			<button @click="toTransaction">查看支付记录</button>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				money:""
			}
		},
		onLoad(money) {
			var {money}=money;
			this.money=money;
		},
		methods: {
			toBack(){
				uni.switchTab({
					url:"/pages/index/index"
				})
			},
			toTransaction(){
				uni.navigateTo({
					url:"/pages/mime/children/transaction/transaction"
				})
			}
		}
	}
</script>

<style scoped>
.wrapper{
	text-align: center;
}
.image{
	margin-top: 100rpx;
}
.image image{
	height: 160rpx;
	width: 160rpx;
}
.text{
	font-size: 40rpx;
	font-family: PingFang SC;
	font-weight: 400;
	color: #333333;
	margin-top: 40rpx;
}
.num{
	font-size: 50rpx;
	font-family: PingFang SC;
	font-weight: 500;
	color: #CA2929;
	margin-top: 25rpx;
}
.btn{
	display: flex;
	margin-top: 99rpx;
}
.btn button{
	width: 300rpx;
	height: 80rpx;
	background: #F7CC46;
	border-radius: 40rpx;
	font-size: 32rpx;
	font-family: PingFang SC;
	font-weight: 400;
	color: #FFFFFF;
}
</style>
